package com.tongcao.cn.algorithm.designMoel.proxy.jdk.cglib.demo;

import com.tongcao.cn.interview.Person;

/**
 * @author:tongcao
 * @since:2019/6/18 19:45
 * Description:
 */
public class PersonService {

    public PersonService() {
        System.out.println("PersonService构造");
    }
    //该方法不能被子类覆盖
    final public Person getPerson(String code) {
        System.out.println("PersonService:getPerson>>"+code);
        return null;
    }

    public void setPerson() {
        System.out.println("PersonService:setPerson");
    }
}